﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using CapaDeDatos.EF;
using CapaDeDominio;

namespace CapaDePrueba
{
    [TestFixture]
    public class TestMaestraDAO
    {
        [Test]
        public void TestListarPorTipo()
        {
            MaestraDAO maestraDAO = new MaestraDAO();
            ICollection<Maestra> objMaestra = maestraDAO.ObtenerXNombreTabla("Tipo_Instrumento");
            Assert.Greater(objMaestra.Count, 0, "La Lista debe ser mayor a 0");
        }       
    }
}
